# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
# Contributor: Thomas Dziedzic <gostrc@gmail.com>
# Contributor: Jose Valecillos <valecillosjg@gmail.com>
# Contributor: Kaos <gianlucaatlas@gmail.com>
# Contributor: Christopher Rogers <slaxemulator@gmail.com>

pkgname=wordpress
pkgver=6.4.1
pkgrel=1
pkgdesc='Blog tool and publishing platform'
arch=(any)
url='https://wordpress.org/'
license=(GPL)
depends=(php)
optdepends=('apache: Web server'
            'mariadb: Database server'
            'nginx: Web server')
options=(!debug emptydirs)
install=$pkgname.install
source=("https://wordpress.org/$pkgname-$pkgver.tar.gz")
sha256sums=('345dedbd535462528fbedbc967333b76319f94e513e155259b80321cf1737ddc')
b2sums=('e9cc7f192ddee135ae903f06f5e478940706b2857e4c5197829ad8b637fbce995e50495a32d8293ec49684ac0f87582cc20c98ebd63721ed335f94a17f415508')

package() {
  install -d "$pkgdir/usr/share/webapps"
  cp -r $pkgname "$pkgdir/usr/share/webapps"
}

# getver: https://core.trac.wordpress.org/timeline?milestone=on
